# Contributor: Edd Salkield <edd@salkield.uk>
# Maintainer: Edd Salkield <edd@salkield.uk>
pkgname=py3-tasklib
pkgver=2.4.3
pkgrel=1
pkgdesc="A Python library for interacting with taskwarrior databases"
url="https://github.com/GothenburgBitFactory/tasklib"
arch="noarch"
license="BSD-3-Clause"
depends="python3 task py3-tz py3-tzlocal"
makedepends="py3-setuptools"
source="$pkgname-$pkgver.tar.gz::https://github.com/GothenburgBitFactory/tasklib/archive/refs/tags/$pkgver.tar.gz"
builddir="$srcdir/tasklib-$pkgver"
options="!check"	# no upstream tests

package() {
	python3 setup.py install \
		--prefix=/usr \
		--root="$pkgdir" \
		--single-version-externally-managed
}
sha512sums="
438211da96dcb5a80115b0375f6a425f4629de3e49379bb9d98f9e10342c66d2bb35b92cbd794d1fe78741fc58d89a5edc16b10ab7eb22275c9f9f0a4a87e295  py3-tasklib-2.4.3.tar.gz
"
